package com.villaday.idf.model2;

import java.util.List;

public class Presell_list {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"current":0,"hasNext":false,"hasPrevious":false,"list":[{"currentPrice":"199","discountAmount":"100","discountRate":"6.6","id":"b0E80oAnE1","imageUrl":"https://img.villaday.com/images/house_208/575171792/575171792-10-14884745.png","name":"【网红爆款】199元抢购潮玩漂移扭变车，重力体感手势控制，360°花样漂移，突破地形超速行驶，炫酷玩具，大人小孩都爱！","originalPrice":"299","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_208/575171792/575171792-10-14884745.png","rebateAmount":"32.4","saleTips":"6月30日预售截止","tags":["漂移扭变车"]}],"total":1}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * current : 0
         * hasNext : false
         * hasPrevious : false
         * list : [{"currentPrice":"199","discountAmount":"100","discountRate":"6.6","id":"b0E80oAnE1","imageUrl":"https://img.villaday.com/images/house_208/575171792/575171792-10-14884745.png","name":"【网红爆款】199元抢购潮玩漂移扭变车，重力体感手势控制，360°花样漂移，突破地形超速行驶，炫酷玩具，大人小孩都爱！","originalPrice":"299","permission":{"allowShare":true},"picture":"https://img.villaday.com/images/house_208/575171792/575171792-10-14884745.png","rebateAmount":"32.4","saleTips":"6月30日预售截止","tags":["漂移扭变车"]}]
         * total : 1
         */

        private int current;
        private boolean hasNext;
        private boolean hasPrevious;
        private int total;
        private List<ListBean> list;

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public boolean isHasPrevious() {
            return hasPrevious;
        }

        public void setHasPrevious(boolean hasPrevious) {
            this.hasPrevious = hasPrevious;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * currentPrice : 199
             * discountAmount : 100
             * discountRate : 6.6
             * id : b0E80oAnE1
             * imageUrl : https://img.villaday.com/images/house_208/575171792/575171792-10-14884745.png
             * name : 【网红爆款】199元抢购潮玩漂移扭变车，重力体感手势控制，360°花样漂移，突破地形超速行驶，炫酷玩具，大人小孩都爱！
             * originalPrice : 299
             * permission : {"allowShare":true}
             * picture : https://img.villaday.com/images/house_208/575171792/575171792-10-14884745.png
             * rebateAmount : 32.4
             * saleTips : 6月30日预售截止
             * tags : ["漂移扭变车"]
             */

            private String currentPrice;
            private String discountAmount;
            private String discountRate;
            private String id;
            private String imageUrl;
            private String name;
            private String originalPrice;
            private PermissionBean permission;
            private String picture;
            private String rebateAmount;
            private String saleTips;
            private List<String> tags;
            private int myType;
            private String extraRebateAmount;//加返

            public String getExtraRebateAmount() {
                return extraRebateAmount;
            }

            public void setExtraRebateAmount(String extraRebateAmount) {
                this.extraRebateAmount = extraRebateAmount;
            }

            public ListBean(int myType){
                this.myType = myType;
            }

            public int getMyType() {
                return myType;
            }

            public void setMyType(int myType) {
                this.myType = myType;
            }

            public String getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(String currentPrice) {
                this.currentPrice = currentPrice;
            }

            public String getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(String discountAmount) {
                this.discountAmount = discountAmount;
            }

            public String getDiscountRate() {
                return discountRate;
            }

            public void setDiscountRate(String discountRate) {
                this.discountRate = discountRate;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(String originalPrice) {
                this.originalPrice = originalPrice;
            }

            public PermissionBean getPermission() {
                return permission;
            }

            public void setPermission(PermissionBean permission) {
                this.permission = permission;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getRebateAmount() {
                return rebateAmount;
            }

            public void setRebateAmount(String rebateAmount) {
                this.rebateAmount = rebateAmount;
            }

            public String getSaleTips() {
                return saleTips;
            }

            public void setSaleTips(String saleTips) {
                this.saleTips = saleTips;
            }

            public List<String> getTags() {
                return tags;
            }

            public void setTags(List<String> tags) {
                this.tags = tags;
            }

            public static class PermissionBean {
                /**
                 * allowShare : true
                 */

                private boolean allowShare;

                public boolean isAllowShare() {
                    return allowShare;
                }

                public void setAllowShare(boolean allowShare) {
                    this.allowShare = allowShare;
                }
            }
        }
    }
}
